<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="./lib/mui/css/mui.min.css">
    <link rel="stylesheet" href="./lib/fa/css/font-awesome.min.css">
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/category.css">
    <title>商品分类</title>
</head>

<body>
    <div class="lt_container">
        <div class="lt_header">
            <a href="index.html" class="ico-left"><i class="fa fa-home"></i></a>
            <h3>乐淘云购</h3>
            <a href="search.html" class="ico-right"><i class="fa fa-search"></i></a>
        </div>


        <div class="lt_main">
            <!-- 区域滑动 -->
            <div class="mui-scroll-wrapper">
                <div class="mui-scroll">


                    <div class="lt_category_left">
                        <ul class="cate-list">
                            <li><a href="javascript:;" data-id=""></a></li>
                            <li><a href="javascript:;" data-id=""></a></li>
                            <li><a href="javascript:;" data-id=""></a></li>
                            <li><a href="javascript:;" data-id=""></a></li>

                        </ul>
                    </div>
                    <div class="lt_category_right">
                        <ul>
                            <li><a href="javascript:;"><img src="./images/brand1.png" alt="">
                                    <p></p>
                                </a></li>
                        </ul>
                    </div>


                </div>
            </div>
        </div>

        <!-- 底部 -->
        <div class="lt_footer">
            <ul class="clearfix">
                <li><a href="index.html"><i class="fa fa-home"></i>
                        <p>首页</p>
                    </a></li>
                <li><a href="javascript:;" class="current"><i class="fa fa-bars"></i>
                        <p>分类页</p>
                    </a></li>
                <li><a href="cart.html"><i class="fa fa-shopping-cart"></i>
                        <p>购物车</p>
                    </a></li>
                <li><a href="user.html"><i class="fa fa-user"></i>
                        <p>用户中心</p>
                    </a></li>
            </ul>
        </div>
    </div>


    <script type="text/html" id="tmp">
        {{ each rows v i }}  
            <li class="{{ i == 0 ?'current': '' }}"><a href="javascript:;" data-id="{{v.id}}" class="{{  }}">{{v.categoryName}}</a></li>
        {{/each}}
    </script>


    <script type="text/html" id="tmp2">
        {{ if rows.length === 0 }}
            <p class="tips">没有更多分类信息了</p>
        {{ /if }}

        {{ each rows v i }}
            <li><a href="javascript:;"><img src="{{v.brandLogo}}" alt=""><p>{{v.brandName}}</p></a></li>
        {{/each}}
    </script>



    <script src="./lib/zepto/zepto.min.js"></script>
    <script src="./lib/artTemplate/template-web.js"></script>
    <script src="./lib/mui/js/mui.js"></script>
    <script src="./js/common.js"></script>
    <script src="./js/category.js"></script>
</body>

</html>